package com.iminutes.factory;

import com.iminutes.service.UserService;
import com.iminutes.service.impl.UserServiceImpl;

/**
 * 静态工厂
 */
public class UserStaticFactory {
    public static UserService getInstance(){
        System.out.println("静态工厂模式");
        return new UserServiceImpl();
    }
}
